//
//  MMIndexAppVersionModel.swift
//  JSTech
//
//  Created by 高得华 on 2019/10/11.
//  Copyright © 2020 华&梅. All rights reserved.
//

import UIKit

class MMIndexAppVersionModel: MDHPTModel {
    ///appName
    @objc var appName = ""
    ///appIos
    @objc var appIos = MMIndexAppVersionIosModel()
    ///article
    @objc var article = MMIndexAppVersionAgreementModel()
    ///MQ 阿里巴巴的 消息队列MQ的信息
    @objc var MQ = MMIndexAppVersionMqttModel()
    ///MQ_Online
    @objc var MQ_Online = MMIndexAppVersionMqttModel()
    ///微信支付相关
    @objc var wchat = MMIndexAppVersionWchatModel()
    ///account_list
    @objc var account_list = MMIndexAppVersionAccountlistModel()
    ///sensitive_words 敏感词
    @objc var sensitive_words = ""
    ///自动搭讪相关
    ///is_can_send 是否可以推送搭讪消息 1是 0否
    @objc var is_can_send = false
    ///进入APP后 几秒调取推送接口
    @objc var conver_time = 0

    ///im
    @objc var im = MMIndexAppVersionImModel()
    
    /*
    ///客服联系方式
    @objc var connect_info = MMIndexAppVersionConnectInfoModel()
    ///share_h5 邀请链接
    @objc var share_h5 = ""
    ///finance_h5 流水
    @objc var finance_h5 = ""
    ///guild_h5 公会
    @objc var guild_h5 = ""
    ///appStart
    @objc var appStart = MMIndexAppVersionAppStartModel()//
    ///appAndroid
    @objc var appAndroid = MMIndexAppVersionAppAndroidModel()
    ////applyserviceUrl 申请大神的用户协议
    @objc var applyserviceUrl: String = ""///
    ///barrage_url 弹幕跳转h5页面的URL
    @objc var barrage_url: String = ""///
    ///特效520 texiao520
    @objc var texiao520: String = ""
    ///特效1314 texiao1314
    @objc var texiao1314: String = ""
    ///魅力达人
    @objc var glamour = MDHUserModel()*/
}


///account_list
class MMIndexAppVersionAccountlistModel: MDHPTModel {
    ///声网相关
    @objc var agora = MMIndexAppVersionShengwangModel()
}

///im 腾讯云通信
class MMIndexAppVersionImModel: MDHPTModel {
    ///ID
    @objc var id = ""
}

///article app中的协议
class MMIndexAppVersionAgreementModel: MDHPTModel {
    ///regist 用户协议
    @objc var regist = ""
    ///privacy 隐私协议
    @objc var privacy = ""
    ///penalties 处罚规则网址
    @objc var penalties = ""
    ///level_url 我的等级
    @objc var level_url = ""
    ///shop_url 个性装扮
    @objc var shop_url = ""
    ///income_url 用于展示陪陪奖励领取入口
    @objc var income_url = ""
}


///客服联系方式
class MMIndexAppVersionConnectInfoModel: MDHPTModel {
    ///合作邮箱
    @objc var email = ""
    ///微信二维码 图片
    @objc var weixin_img = ""
    ///客服
    @objc var kefu = ""
}


///启动时 更新 字段
class MMIndexAppVersionIosModel: MDHPTModel {
    ///app_type APP是否进行更新 1不更新 2非强制性 3强制性
    @objc var app_type = 1
    ///当前APP最新的版本号
    @objc var version = ""
    ///下载地址
    @objc var url = ""
}


///声网相关
class MMIndexAppVersionShengwangModel: MDHPTModel {
    ///appid
    @objc var appid: String = ""
}

///微信支付相关
class MMIndexAppVersionWchatModel: MDHPTModel {
    ///partnerId
    @objc var partnerId = ""
    ///key
    @objc var key = ""
}


//MARK:  阿里巴巴的 消息队列MQ的信息
class MMIndexAppVersionMqttModel: MDHPTModel {
    ///host host
    @objc var host = ""
    ///port  port
    @objc var port = 0
    ///topic topic
    @objc var topic = ""
    ///AccessKeyId  AccessKeyId
    @objc var AccessKeyId = ""
    ///AccessKeySecret AccessKeySecret
    @objc var AccessKeySecret = ""
    ///GroupId groupId
    @objc var GroupId = ""
    ///barrage_topic
    @objc var barrage_topic = ""
    ///instanceId instanceId
    @objc var instanceid = ""
    

    ///barrage_topic 弹幕的topic 正式  topic_barrage
    @objc var topic_barrage: String = ""
    ///barrage_topic 弹幕的topic 测试 topic_barrage_test
    @objc var topic_barrage_test: String = ""
    /// topic_online 在线的topic
    @objc var topic_online: String = ""
}

class MMIndexAppVersionAppStartModel: MDHPTModel {
    @objc var ad_link: String = ""//
    @objc var ad_code: String = ""//
}


class MMIndexAppVersionAppAndroidModel: MDHPTModel {
    @objc var downLoadUrl: String = ""//
    @objc var versionName: String = ""//
    @objc var version: Float = 0.0//
    @objc var serviceUrl: String = ""//
}

